package com.common.springbootcommonmessage.service;

import com.common.springbootcommonmessage.entity.SiteUser;
import com.common.springbootcommonmessage.exceptions.AutoBestException;
import com.common.springbootcommonmessage.vo.NotificationTemplateVo;
import com.common.springbootcommonmessage.vo.NotificationVo;

import java.util.List;

public interface CommonNotificationService {
    List<NotificationVo> getList(SiteUser user, Integer orderId, Integer rmaId, Boolean isNew, String traceId);

    NotificationTemplateVo changeTopicItem(SiteUser siteUser, Integer orderId, Integer notificationId, Integer templateId, String traceId) throws AutoBestException;

    Boolean changeMessageReadStatus(SiteUser siteUser, Integer itemId, String traceId) throws AutoBestException;
}
